import request from '@/utils/request'

// 报表查询
/*
 * 账户统计
 */
export function reportGetUserReport(params) {
  return request({
    url: `/report/getUserReport`,
    method: 'get',
    params
  })
}
/*
 * 账户统计导出
 */
export function reportUserReportExport(params) {
  return request({
    url: `/report/userReportExport`,
    method: 'get',
    params
  })
}
/*
 * 资金统计
 */
export function reportGetUserCapital(params) {
  return request({
    url: `/report/getUserCapital`,
    method: 'get',
    params
  })
}
/*
 * 资金统计导出
 */
export function reportUserCapitalExport(params) {
  return request({
    url: `/report/userCapitalExport`,
    method: 'get',
    params
  })
}
/*
 *持仓列表
 */
export function reportGetUserPosition(params) {
  return request({
    url: `/report/getUserPosition`,
    method: 'get',
    params
  })
}
/*
 *持仓列表导出
 */
export function reportUserPositionExport(params) {
  return request({
    url: `/report/userPositionExport`,
    method: 'get',
    params
  })
}
/*
 *持仓平仓
 */
export function reportReportExit(data) {
  return request({
    url: `/report/reportExit`,
    method: 'post',
    data
  })
}
/*
 *成交列表
 */
export function reportGetUserTradeList(params) {
  return request({
    url: `/report/getUserTradeList`,
    method: 'get',
    params
  })
}
/*
 *成交列表导出
 */
export function reportUserTradeListExport(params) {
  return request({
    url: `/report/userTradeListExport`,
    method: 'get',
    params
  })
}
/*
 *平盈列表
 */
export function reportClosingReport(params) {
  return request({
    url: `/report/closingReport`,
    method: 'get',
    params
  })
}
/*
 *平盈列表导出
 */
export function reportClosingReportExport(params) {
  return request({
    url: `/report/closingReportExport`,
    method: 'get',
    params
  })
}
/*
 *额度变动
 */
export function reportTodayBalanceBill(params) {
  return request({
    url: `/report/todayBalanceBill`,
    method: 'get',
    params
  })
}
/*
 *额度变动导出
 */
export function reportTodayBalanceBillExport(params) {
  return request({
    url: `/report/todayBalanceBillExport`,
    method: 'get',
    params
  })
}
/*
 *历史额度变动
 */
export function reportGetChange(params) {
  return request({
    url: `/report/getChange`,
    method: 'get',
    params
  })
}
/*
 *历史额度变动导出
 */
export function reportChangeExport(params) {
  return request({
    url: `/report/changeExport`,
    method: 'get',
    params
  })
}
/*
 *委托列表
 */
export function reportTodayUserOrder(params) {
  return request({
    url: `/report/todayUserOrder`,
    method: 'get',
    params
  })
}
/*
 *委托列表导出
 */
export function reportTodayUserOrderExport(params) {
  return request({
    url: `/report/todayUserOrderExport`,
    method: 'get',
    params
  })
}
/*
 *历史委托
 */
export function reportGetUserOrder(params) {
  return request({
    url: `/report/getUserOrder`,
    method: 'get',
    params
  })
}
/*
 *历史委托导出
 */
export function reportUserOrderExport(params) {
  return request({
    url: `/report/userOrderExport`,
    method: 'get',
    params
  })
}
/*
 *止盈止损
 */
export function reportGetTpsl(params) {
  return request({
    url: `/report/getTpsl`,
    method: 'get',
    params
  })
}
/*
 *止盈止损导出
 */
export function reportTpslExport(params) {
  return request({
    url: `/report/tpslExport`,
    method: 'get',
    params
  })
}

